home *** CD-ROM | disk | FTP | other *** search
- (
- (set InstallChoices
- (askoptions
- (prompt "\nPlease select which parts of ModUtils you would like to install:\n")
- (help
- (cat
- "ModPlay plays Protracker and compatible music modules.\n"
- "ModAlloc, ModRip etc are used for extracting music modules from games and demos.\n"
- "ModUtils.doc provides documentation for these programs.\n"
- "ModUtils.guide provides documentation in AmigaGuide format.\n"
- "For more information, read ModUtils.doc/guide.\n"
- @askoptions-help
- )
- )
- (choices "ModPlay" "MakeRipperDisk, ModAlloc, ModRip and ModWipe" "ModUtils.doc" "ModUtils.guide")
- (default 11)
- )
- )
-
- (set @default-dest
- (askdir
- (prompt "Select the directory to install the chosen programs to:")
- (help @askdir-help)
- (default "")
- )
- )
-
- (if (bitand InstallChoices 1)
- (
- (copyfiles (source "ModPlay") (dest @default-dest))
- (copyfiles (source "ModPlay.info") (dest @default-dest))
- (copylib (source "reqtools.library") (dest "LIBS:"))
- )
- )
- (if (bitand InstallChoices 2)
- (
- (copyfiles (source "MakeRipperDisk") (dest @default-dest))
- (copyfiles (source "MakeRipperDisk.info") (dest @default-dest))
- (copyfiles (source "ModAlloc") (dest @default-dest))
- (copyfiles (source "ModAlloc.info") (dest @default-dest))
- (copyfiles (source "ModRip") (dest @default-dest))
- (copyfiles (source "ModRip.info") (dest @default-dest))
- (copyfiles (source "ModWipe") (dest @default-dest))
- (copyfiles (source "ModWipe.info") (dest @default-dest))
- )
- )
- (if (bitand InstallChoices 4)
- (
- (copyfiles (source "ModUtils.doc") (dest @default-dest))
- (copyfiles (source "ModUtils.doc.info") (dest @default-dest))
- )
- )
- (if (bitand InstallChoices 8)
- (
- (copyfiles (source "ModUtils.guide") (dest @default-dest))
- (copyfiles (source "ModUtils.guide.info") (dest @default-dest))
- )
- )
- )
-